package com.steven.team.service

import com.alibaba.fastjson.JSONObject
import org.springframework.web.multipart.MultipartFile

interface ChatService {
    fun addMessage(sendUser: Long, receiveUser: Long, postMessage: String): JSONObject
    fun queryAll(uid: Long, friendId: Long, lastCreateTime: Long): JSONObject
    fun queryAllUnread(uid: Long): JSONObject
    fun updateMessageStatusBy2Users(receiveUser: Long, sendUser: Long): JSONObject
}